package cn.coco.jf.fw.core.db;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

public class SysRoleTbl extends Model<SysRoleTbl>{
    public static SysRoleTbl dao = new SysRoleTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    
    public static SysRoleTbl newInstance(){
        return new SysRoleTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    public SysRoleTbl(){
        this.use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private Integer roleId;
    private String roleName;
    private String delFlg;

    public Integer getRoleId() {
        return get("roleId");
    }

    public void setRoleId(Integer roleId) {
        set("roleId", roleId);
    }

    public String getRoleName() {
        return get("roleName");
    }

    public void setRoleName(String roleName) {
        set("roleName", roleName);
    }

    public String getDelFlg() {
        return get("delFlg");
    }

    public void setDelFlg(String delFlg) {
        set("delFlg", delFlg);
    }
    

}
